import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './Main';
import Job from './Job';
import Desc from './Desc';
import FringeBenefits from './fringeBenefits';
import reportWebVitals from './reportWebVitals';
import {
  HashRouter as Router,
  Switch,
  Route,
  Link
} from "react-router-dom";
import Post from './Post';


 
ReactDOM.render(
  <React.StrictMode>
   <Router>
    
           <Switch>
          <Route exact path="/">
            <App />
          </Route>
          <Route path="/job">
            <Job/>
          </Route>
          <Route path="/fringeBenefits">
            <FringeBenefits/>
          </Route>
          <Route path="/Post">
            <Post/>
          </Route>

          <Route path="/desc">
           <Desc  />
          </Route>
        </Switch>

  </Router>
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
